<%--
  Created by IntelliJ IDEA.
  User: rihel
  Date: 2018/3/15
  Time: 下午10:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="static/css/bootstrap.min.css">
    <link rel="stylesheet" href="static/css/font-awesome.min.css">
    <title>666商城</title>
    <style>
        html,
        body {
            height: 100%;
        }

        body {
            display: -ms-flexbox;
            display: -webkit-box;
            display: flex;
            -ms-flex-align: center;
            -ms-flex-pack: center;
            -webkit-box-align: center;
            align-items: center;
            -webkit-box-pack: center;
            justify-content: center;
            padding-top: 40px;
            padding-bottom: 40px;
            background-color: #f5f5f5;
        }

        .form-signin {
            width: 100%;
            max-width: 330px;
            padding: 15px;
            margin: 0 auto;
        }

        .form-signin .checkbox {
            font-weight: 400;
        }

        .form-signin .form-control {
            position: relative;
            box-sizing: border-box;
            height: auto;
            padding: 10px;
            font-size: 16px;
        }

        .form-signin .form-control:focus {
            z-index: 2;
        }

        .form-signin input[type="email"] {
            margin-bottom: -1px;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }

        .form-signin input[type="password"] {
            margin-bottom: 10px;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

    </style>
</head>
<body >
<form class="form-signin" method="post" action="/register">

    <h1 class="h3 mb-3 font-weight-normal text-center">注册</h1>
    <div class="form-group">
        <label for="uname">用户名</label>
        <input type="text" class="form-control" placeholder="请输入用户名" id="uname" name="uname">
        <small class="text-muted">
            输入8-16位的用户名，只能够输入字母和数字
        </small>
    </div>
    <div class="form-group">
        <label for="pwd">密码</label>
        <input type="password" class="form-control" placeholder="请输入密码" id="pwd" name="pwd">
        <small class="text-muted">
            输入8-16位的密码，只能够输入字母和数字
        </small>
    </div>
    <div class="form-group">
        <label for="pwdaigin">确认密码</label>
        <input type="password" class="form-control" placeholder="请再次输入密码" id="pwdaigin">
    </div>
    <div class="form-group">
        <label for="mobile">手机号码</label>
        <input type="text" class="form-control" placeholder="请输入手机号码" id="mobile" name="mobile">
    </div>
    <input type="submit" value="注册" class="btn btn-primary btn-block">
</form>
</body>
</html>

